package com.futong.ft.common.selector;

import com.futong.ft.common.configure.FTAuthExceptionConfigure;
import com.futong.ft.common.configure.FTOAuth2FeignConfigure;
import com.futong.ft.common.configure.FTServerProtectConfigure;
import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

public class FTCloudApplicationSelector implements ImportSelector {

    @Override
    public String[] selectImports(AnnotationMetadata annotationMetadata) {
        return new String[]{
                FTAuthExceptionConfigure.class.getName(),
                FTOAuth2FeignConfigure.class.getName(),
                FTServerProtectConfigure.class.getName()
        };
    }
}
